/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 涛
 * Date: 2023-09-29
 * Time: 15:07
 */
class Soltion {
    public void merge(int A[], int m, int B[], int n) {
        int i = 0;
        int j = 0;
        for(i = m; i < m + n; i++) {
            A[i] = B[j];
            j++;
        }
        for(i = 0; i < m + n - 1; i++) {
            for(j = 0; j < m + n - 1 - i; j++) {
                if(A[j] > A[j + 1]) {
                    int tmp = A[j];
                    A[j] = A[j + 1];
                    A[j + 1] = tmp;
                }
            }
        }
    }
}
public class Test3 {
    public static void main(String[] args) {

    }
}
}
